#include<stdio.h>
int main()
{
	float r, s, v, pi;
	pi = 3.14;
	scanf("%f", &r);
	s = 4.0 * pi * r * r;
	v = 4.0 / 3 * pi * r * r * r;
	printf("s=%.2f\nv=%.2f", s, v);
	return 0;
}
